/**
 * NOTE HOST、HOST_M 是在 config 中通过 defineConstants 配置的
 * 只所以不在代码中直接引用，是因为 eslint 会报 no-undef 的错误，因此用如下方式处理
 */
/* eslint-disable */
export const host = HOST
/* eslint-enable */
console.log('HOST', HOST)
// pic
// export const CDN = 'https://yanxuan.nosdn.127.net'

// home
export const API_GOODS_PRODUCT = `${host}/admin/goods/product/page`
export const API_GOODS_INFO = `${host}/admin/goods/product/info`
export const API_GOODS_PRODUCT_MEDIAS = `${host}/admin/goods/product/medias`
export const API_GOODS_CATE = `${host}/admin/goods/cate/list`
export const API_GOODS_HOT_WORDS = `${host}/admin/goods/hotWords/list`
export const API_GOODS_BRAND = `${host}/admin/goods/brand/list`
export const API_GOODS_TAG = `${host}/admin/goods/tag/list`
export const API_GOODS_RECOMMEND = `${host}/admin/goods/recommend/page`
export const API_CREATE_QRCODE = `${host}/wx/createQRCode`
export const API_LOGIN = `${host}/wx/login`
export const API_USER = `${host}/wx/user`
export const API_BINDPHONE = `${host}/wx/bindPhone`
export const API_LOGOUT = `${host}/wx/logout`
export const API_GOODS_PRODUCT_INFO = `${host}/wx/product/info`
export const API_GOODS_PRODUCT_ADD = `${host}/wx/product/add`
export const API_GOODS_PRODUCT_UPDATE = `${host}/wx/product/update`
export const API_PRODUCT_LIKE_ADD = `${host}/wx/like/add`
export const API_PRODUCT_LIKE_CANCEL = `${host}/wx/like/cancel`
export const API_PRODUCT_LIKE_LIST = `${host}/wx/like/list`
export const API_COMM_UPLOAD = `${host}/admin/comm/upload`
export const API_COMM_KUAIDI_INFO = `${host}/admin/comm/kuaidi/info`
